<template>
  <div class="home">
    <h2>欢迎使用{{ title }}</h2>
  </div>
</template>

<script setup name="Index" lang="ts">
import { setTitle } from '@/utils/index';

const title = setTitle();

document.title = title;
</script>

<style lang="scss" scoped>
.home {
  width: 100%;
  height: calc(100vh - 84px);
  display: flex;
  justify-content: center;
  align-items: center;
  h2 {
    color: #676a6c;
    font-size: 36px;
    font-family: 'open sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  }
}
</style>
